{admin title="Edit Configuration"}
{if count($config) gt 0}
<form method="post" action="/config/index/modid/{$modid}" enctype="multipart/form-data">
	<p>
	{foreach from=$config item=setting}
	
	<label for="{$setting.ckey}">{$setting.ckey|replace:'_':' '|capitalize}</label>	
	<input type="text" id="{$setting.ckey}" name="{$setting.ckey}" value="{$setting.value}" />
	
	{/foreach}										
	</p>			
	<p class="clearfix"><input type="submit" class="button save" value="Save"/></p>					
	
</form>
{/if}
{/admin}